XXXXXXXXXXXXXXXXXXXXXXXXvoid(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
Solver manager for WOLF.
More...
#include <core/solver/solver_manager.h>
|
| static SolverManagerPtr | autoSetup (const ProblemPtr &_problem, const std::string &_input_yaml_file, std::vector< std::string > _primary_schema_folders, bool _skip_yaml_validation=false) |
| |
| static SolverManagerPtr | autoSetup (const ProblemPtr &_problem, YAML::Node _param_node, std::vector< std::string > _primary_schema_folders, bool _skip_yaml_validation=false) |
| |
◆ CovarianceBlocksToBeComputed
Enumeration of covariance blocks to be computed.
| Enumerator |
|---|
| ALL | All blocks and all cross-covariances.
|
| ALL_MARGINALS | All marginals.
|
| ROBOT_LANDMARKS | marginals of landmarks and current robot pose plus cross covariances of current robot and all landmarks
|
| GAUSS | GAUSS: last frame P and V.
|
| GAUSS_TUCAN | GAUSS: last frame P, O, V and T.
|
| GAUSS_TUCAN_ONLY_POSITION | GAUSS: last frame P and T.
|
◆ ReportVerbosity
Enumeration for the verbosity of the solver report.
| Enumerator |
|---|
| QUIET | |
| BRIEF | |
| FULL | |
◆ SolverManager() [1/2]
| wolf::SolverManager::SolverManager |
( |
const ProblemPtr & |
_problem | ) |
|
Constructor with default params_.
◆ SolverManager() [2/2]
| wolf::SolverManager::SolverManager |
( |
const ProblemPtr & |
_problem, |
|
|
const YAML::Node & |
_params |
|
) |
| |
Constructor with given params_.
◆ ~SolverManager()
| wolf::SolverManager::~SolverManager |
( |
| ) |
|
|
virtual |
◆ addFactorDerived()
| virtual void wolf::SolverManager::addFactorDerived |
( |
const FactorBasePtr & |
fac_ptr | ) |
|
|
protectedpure virtual |
◆ addStateBlockDerived()
| virtual void wolf::SolverManager::addStateBlockDerived |
( |
const StateBlockPtr & |
state_ptr | ) |
|
|
protectedpure virtual |
◆ autoSetup() [1/2]
| SolverManagerPtr wolf::SolverManager::autoSetup |
( |
const ProblemPtr & |
_problem, |
|
|
const std::string & |
_input_yaml_file, |
|
|
std::vector< std::string > |
_primary_schema_folders, |
|
|
bool |
_skip_yaml_validation = false |
|
) |
| |
|
static |
◆ autoSetup() [2/2]
| SolverManagerPtr wolf::SolverManager::autoSetup |
( |
const ProblemPtr & |
_problem, |
|
|
YAML::Node |
_param_node, |
|
|
std::vector< std::string > |
_primary_schema_folders, |
|
|
bool |
_skip_yaml_validation = false |
|
) |
| |
|
static |
◆ check()
| bool wolf::SolverManager::check |
( |
std::string |
prefix = "" | ) |
const |
|
finalvirtual |
◆ checkDerived()
| virtual bool wolf::SolverManager::checkDerived |
( |
std::string |
prefix = "" | ) |
const |
|
protectedpure virtual |
◆ computeCovariances() [1/3]
| bool wolf::SolverManager::computeCovariances |
( |
| ) |
|
|
finalvirtual |
◆ computeCovariances() [2/3]
◆ computeCovariances() [3/3]
| bool wolf::SolverManager::computeCovariances |
( |
const std::vector< StateBlockPtr > & |
st_list | ) |
|
|
finalvirtual |
◆ computeCovariancesDerived() [1/2]
◆ computeCovariancesDerived() [2/2]
| virtual bool wolf::SolverManager::computeCovariancesDerived |
( |
const std::vector< StateBlockPtr > & |
st_list | ) |
|
|
protectedpure virtual |
◆ converged()
| virtual bool wolf::SolverManager::converged |
( |
| ) |
const |
|
pure virtual |
◆ failed()
| virtual bool wolf::SolverManager::failed |
( |
| ) |
const |
|
pure virtual |
◆ finalCost()
| virtual double wolf::SolverManager::finalCost |
( |
| ) |
const |
|
pure virtual |
◆ getAssociatedMemBlock()
| Eigen::VectorXd & wolf::SolverManager::getAssociatedMemBlock |
( |
const StateBlockPtr & |
state_ptr | ) |
|
|
protectedvirtual |
◆ getAssociatedMemBlockPtr() [1/2]
| double * wolf::SolverManager::getAssociatedMemBlockPtr |
( |
const StateBlockPtr & |
state_ptr | ) |
|
|
protected |
◆ getAssociatedMemBlockPtr() [2/2]
| const double * wolf::SolverManager::getAssociatedMemBlockPtr |
( |
const StateBlockPtr & |
state_ptr | ) |
const |
|
protected |
◆ getComputeCov()
| bool wolf::SolverManager::getComputeCov |
( |
| ) |
const |
◆ getCovPeriod()
| double wolf::SolverManager::getCovPeriod |
( |
| ) |
const |
◆ getParams()
| YAML::Node wolf::SolverManager::getParams |
( |
| ) |
const |
◆ getPeriod()
| double wolf::SolverManager::getPeriod |
( |
| ) |
const |
◆ getProblem()
| wolf::ProblemPtr wolf::SolverManager::getProblem |
( |
| ) |
|
◆ getProfilingCov()
| const ProfilingUnit & wolf::SolverManager::getProfilingCov |
( |
| ) |
const |
◆ getProfilingSolve()
| const ProfilingUnit & wolf::SolverManager::getProfilingSolve |
( |
| ) |
const |
◆ getProfilingState()
| const ProfilingUnit & wolf::SolverManager::getProfilingState |
( |
| ) |
const |
◆ getProfilingTotal()
| const ProfilingUnit & wolf::SolverManager::getProfilingTotal |
( |
| ) |
const |
◆ getProfilingUpdate()
| const ProfilingUnit & wolf::SolverManager::getProfilingUpdate |
( |
| ) |
const |
◆ getVerbosity()
◆ hasLocalParametrization()
| bool wolf::SolverManager::hasLocalParametrization |
( |
const StateBlockPtr & |
st | ) |
const |
|
finalvirtual |
◆ hasLocalParametrizationDerived()
| virtual bool wolf::SolverManager::hasLocalParametrizationDerived |
( |
const StateBlockPtr & |
st | ) |
const |
|
protectedpure virtual |
◆ hasThisLocalParametrization()
| bool wolf::SolverManager::hasThisLocalParametrization |
( |
const StateBlockPtr & |
st, |
|
|
const LocalParametrizationBasePtr & |
local_param |
|
) |
| const |
|
finalvirtual |
◆ hasThisLocalParametrizationDerived()
| virtual bool wolf::SolverManager::hasThisLocalParametrizationDerived |
( |
const StateBlockPtr & |
st, |
|
|
const LocalParametrizationBasePtr & |
local_param |
|
) |
| const |
|
protectedpure virtual |
◆ initialCost()
| virtual double wolf::SolverManager::initialCost |
( |
| ) |
const |
|
pure virtual |
◆ isFactorRegistered()
| bool wolf::SolverManager::isFactorRegistered |
( |
const FactorBasePtr & |
fac_ptr | ) |
const |
|
finalvirtual |
◆ isFactorRegisteredDerived()
| virtual bool wolf::SolverManager::isFactorRegisteredDerived |
( |
const FactorBasePtr & |
fac_ptr | ) |
const |
|
protectedpure virtual |
◆ isStateBlockFixed()
| bool wolf::SolverManager::isStateBlockFixed |
( |
const StateBlockPtr & |
st | ) |
const |
|
finalvirtual |
◆ isStateBlockFixedDerived()
| virtual bool wolf::SolverManager::isStateBlockFixedDerived |
( |
const StateBlockPtr & |
st | ) |
const |
|
protectedpure virtual |
◆ isStateBlockFloating()
| bool wolf::SolverManager::isStateBlockFloating |
( |
const StateBlockPtr & |
state_ptr | ) |
const |
|
finalvirtual |
◆ isStateBlockRegistered()
| bool wolf::SolverManager::isStateBlockRegistered |
( |
const StateBlockPtr & |
state_ptr | ) |
const |
|
finalvirtual |
◆ isStateBlockRegisteredDerived()
| virtual bool wolf::SolverManager::isStateBlockRegisteredDerived |
( |
const StateBlockPtr & |
state_ptr | ) |
const |
|
protectedpure virtual |
◆ iterations()
| virtual unsigned int wolf::SolverManager::iterations |
( |
| ) |
const |
|
pure virtual |
◆ numFactors()
| int wolf::SolverManager::numFactors |
( |
| ) |
const |
|
finalvirtual |
◆ numFactorsDerived()
| virtual int wolf::SolverManager::numFactorsDerived |
( |
| ) |
const |
|
pure virtual |
◆ numStateBlocks()
| int wolf::SolverManager::numStateBlocks |
( |
| ) |
const |
|
finalvirtual |
◆ numStateBlocksEstimated()
| int wolf::SolverManager::numStateBlocksEstimated |
( |
| ) |
const |
|
finalvirtual |
◆ numStateBlocksEstimatedDerived()
| virtual int wolf::SolverManager::numStateBlocksEstimatedDerived |
( |
| ) |
const |
|
pure virtual |
◆ printProfiling()
| void wolf::SolverManager::printProfiling |
( |
std::ostream & |
stream = std::cout | ) |
const |
◆ printProfilingDerived()
| virtual void wolf::SolverManager::printProfilingDerived |
( |
std::ostream & |
stream = std::cout | ) |
const |
|
protectedpure virtual |
◆ removeFactorDerived()
| virtual void wolf::SolverManager::removeFactorDerived |
( |
const FactorBasePtr & |
fac_ptr | ) |
|
|
protectedpure virtual |
◆ removeStateBlockDerived()
| virtual void wolf::SolverManager::removeStateBlockDerived |
( |
const StateBlockPtr & |
state_ptr | ) |
|
|
protectedpure virtual |
◆ run()
| void wolf::SolverManager::run |
( |
| ) |
|
|
finalvirtual |
◆ sizeFactors()
| int wolf::SolverManager::sizeFactors |
( |
| ) |
const |
|
finalvirtual |
◆ sizeFactorsDerived()
| virtual int wolf::SolverManager::sizeFactorsDerived |
( |
| ) |
const |
|
pure virtual |
◆ sizeStateBlocks()
| int wolf::SolverManager::sizeStateBlocks |
( |
| ) |
const |
|
finalvirtual |
◆ sizeStateBlocksEstimated()
| int wolf::SolverManager::sizeStateBlocksEstimated |
( |
| ) |
const |
|
finalvirtual |
◆ sizeStateBlocksEstimatedDerived()
| virtual int wolf::SolverManager::sizeStateBlocksEstimatedDerived |
( |
| ) |
const |
|
pure virtual |
◆ solve() [1/2]
| std::string wolf::SolverManager::solve |
( |
| ) |
|
Solves with the verbosity defined in params_.
◆ solve() [2/2]
| std::string wolf::SolverManager::solve |
( |
const ReportVerbosity |
report_level | ) |
|
Solves with a given verbosity.
◆ solveDerived()
| virtual std::string wolf::SolverManager::solveDerived |
( |
const ReportVerbosity |
report_level | ) |
|
|
protectedpure virtual |
◆ stop()
| void wolf::SolverManager::stop |
( |
| ) |
|
|
finalvirtual |
◆ totalTime()
| virtual double wolf::SolverManager::totalTime |
( |
| ) |
const |
|
pure virtual |
◆ update()
| void wolf::SolverManager::update |
( |
| ) |
|
|
virtual |
Updates solver's problem according to the wolf_problem.
◆ updateStateBlockLocalParametrizationDerived()
| virtual void wolf::SolverManager::updateStateBlockLocalParametrizationDerived |
( |
const StateBlockPtr & |
state_ptr | ) |
|
|
protectedpure virtual |
◆ updateStateBlockStatusDerived()
| virtual void wolf::SolverManager::updateStateBlockStatusDerived |
( |
const StateBlockPtr & |
state_ptr | ) |
|
|
protectedpure virtual |
◆ wasStopped()
| virtual bool wolf::SolverManager::wasStopped |
( |
| ) |
const |
|
pure virtual |
◆ compute_cov_
| bool wolf::SolverManager::compute_cov_ |
|
protected |
◆ cov_enum_
◆ cov_period_
| double wolf::SolverManager::cov_period_ |
|
protected |
◆ factors_
| std::set<FactorBasePtr> wolf::SolverManager::factors_ |
|
protected |
◆ floating_state_blocks_
| std::set<StateBlockPtr> wolf::SolverManager::floating_state_blocks_ |
|
protected |
◆ last_cov_time_
| std::chrono::high_resolution_clock::time_point wolf::SolverManager::last_cov_time_ |
|
protected |
◆ params_
| YAML::Node wolf::SolverManager::params_ |
|
protected |
◆ period_
| double wolf::SolverManager::period_ |
|
protected |
◆ profiling_cov_
◆ profiling_solve_
◆ profiling_state_
◆ profiling_total_
◆ profiling_update_
◆ state_blocks_
| std::map<StateBlockPtr, Eigen::VectorXd> wolf::SolverManager::state_blocks_ |
|
protected |
◆ state_blocks_2_factors_
| std::map<StateBlockPtr, FactorBasePtrList> wolf::SolverManager::state_blocks_2_factors_ |
|
protected |
◆ stopping_
| bool wolf::SolverManager::stopping_ |
|
protected |
◆ verbose_
◆ wolf_problem_
| ProblemPtr wolf::SolverManager::wolf_problem_ |
|
protected |
The documentation for this class was generated from the following files: